﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class yxsx
    {
        public string yxname { get; set; }
        public string yxinfo { get; set; }
        public string playname { get; set; }
        public int gongji { get; set; }
        public int fangyu { get; set; }
        public int sudu { get; set; }
        public string jn1 { get; set; }
        public string jn2 { get; set; }
        public string jn3 { get; set; }
        public yxsx() { }
        public yxsx(string yxname, string yxinfo, string playname,int gongji,int fangyu,int sudu, string jn1, string jn2, string jn3)
        {
            this.yxname = yxname;
            this.yxinfo = yxinfo;
            this.playname = playname;
            this.gongji= gongji;
            this.fangyu = fangyu;
            this.sudu = sudu;
            this.jn1 = jn1;
            this.jn2 = jn2;
            this.jn3 = jn3;
        }
        public void EoL3()
        {
            Console.WriteLine("我是英雄{0},我来自{1}，我是玩家{2}，我的攻击力是{3}，我的防御{4}，我的速度{5},我的1技能{6}，我的2技能{7}，我的3技能{8}", this.yxname, this.yxinfo, this.playname, this.gongji, this.fangyu, this.sudu,this.jn1,this.jn2,this.jn3);
        }
    }
}
